package com.kenliang.netty.rpc.parallel.policy;

import java.util.concurrent.ThreadPoolExecutor;

/**
 * @author KenLiang
 * @description:
 * @date Created in 6:40 PM 2019/3/26.
 */
public class AbortPolicy extends ThreadPoolExecutor.AbortPolicy {
    @Override
    public void rejectedExecution(Runnable r, ThreadPoolExecutor e) {
        System.out.println("=======rejectedExecution");
        super.rejectedExecution(r, e);
    }
}
